package com.walming.generator.copycat.constant;

/**
 * <p>
 * 分页数据常量
 * </p>
 *
 * @author walming
 * @date 2021-03-11 11:42
 */
public class PageConstants {

    /** 分页起始页字段 */
    public static final String PAGE_NUM_FIELD = "pageNum";
    /** 分页默认起始页 */
    public static final Integer DEFAULT_PAGE_NUM = 1;

    /** 分页每页条数字段 */
    public static final String PAGE_SIZE_FIELD = "pageSize";
    /** 分页默认每页条数 */
    public static final Integer DEFAULT_PAGE_SIZE = 10;

    /** 排序列字段 */
    public static final String ORDER_BY_COLUMN_FIELD = "orderByColumn";
    /** 默认排序列 */
    public static final String DEFAULT_ORDER_BY_COLUMN = "create_time";

    /** 排序的方向字段 */
    public static final String IS_ASC_FIELD = "isAsc";

    /** 升序排列 */
    public static final String ASC = "asc";
    /** 降序排列 */
    public static final String DESC = "desc";

}
